package com.huarui.returned.dao;

import java.util.List;
import java.util.Map;

import org.ewaf.framework.dao.IBaseDao;

import com.huarui.returned.model.Returned;
import com.huarui.returned.model.ReturnedModel;

public interface IReturnedDao extends IBaseDao {
    
	@SuppressWarnings("unchecked")
	public List<Returned> getReturnedByConditions(Map map);
	
	@SuppressWarnings("unchecked")
	public List<ReturnedModel> getReturnedByComplexConditons(Map map);

	@SuppressWarnings("unchecked")
	public Integer getReturnedCountByComplexConditons(Map queryMap);

	@SuppressWarnings("unchecked")
	public Returned getReturnedById(Map map);
}
